using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace figure
{
    class Program
    {
        static void Main(string[] args)
        {
            Circle c = new Circle();
            c.Color = Console.ReadLine();
            c.Radius = double.Parse(Console.ReadLine());
            c.GetArea();


            Console.WriteLine("--------------------------------------");
            Square sq = new Square();
            sq.Color = Console.ReadLine();
            sq.SideLen1 = double.Parse(Console.ReadLine());
            sq.SideLen2 = double.Parse(Console.ReadLine());
            sq.GetArea();

        }
    }
}